using System;
using System.Collections.Generic;
using Webshop20.Domain.Catalog.Core;

namespace Webshop20.UnitTests.Builder
{
    public class BuildCart
    {
        private readonly IEnumerable<ShoppingCartItem> positions = new List<ShoppingCartItem>(){ new ShoppingCartItem(1, new BuildProduct(), DateTime.Now) };

        private ShoppingCart Build()
        {
            return new ShoppingCart();
        }
        public static implicit operator ShoppingCart(BuildCart buildCart)
        {
            return buildCart.Build();
        }
    }
}